package com.apes.auto.car.repository;

import com.apes.auto.car.model.CarTypeConfiguration;
import com.apes.framework.jpa.repository.CustomRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface CarTypeConfigurationRepository extends CustomRepository<CarTypeConfiguration, String> {
    @Query("select count (T) from CarTypeConfiguration T where levelID =:value")
    int findAllBylevelID(@Param("value") String level);
}


